package MessagePacks;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class checkAllMemReadEstReport extends MessagePack {
	
	private static final long serialVersionUID = 1L;
	private int reportID;
	private int bothRead;
	
	/**
	 * Constructor
	 * @param repID - Report's ID
	 * @param ok - 1 if OK , 0 otherwise
	 */
	public checkAllMemReadEstReport(int repID,int ok) {
		super(checkAllReadEstReport);
		this.reportID=repID;
		this.bothRead=ok;
	}

	public int getReportId(){
		return(this.reportID);
	}
	
	public int getBothRead(){
		return(this.bothRead);
	}
	
	public void setBothRead(int ok){
		this.bothRead=ok;
	}
}
